package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "mall_shop")
public class MallShop {
    /**
     * 店铺id
     */
    @Id
    @Column(name = "shop_id")
    private Integer shopId;

    /**
     * 店铺名称
     */
    @Column(name = "shop_name")
    private String shopName;

    /**
     * 店铺logo
     */
    @Column(name = "shop_logo")
    private String shopLogo;

    /**
     * 收藏数
     */
    @Column(name = "like_count")
    private Integer likeCount;

    /**
     * 创建时间
     */
    @Column(name = "shop_create_date")
    private Date shopCreateDate;

    /**
     * 公司id
     */
    @Column(name = "dept_id")
    private Integer deptId;

    /**
     * 店铺说明
     */
    @Column(name = "shop_summary")
    private String shopSummary;

    /**
     * 获取店铺id
     *
     * @return shop_id - 店铺id
     */
    public Integer getShopId() {
        return shopId;
    }

    /**
     * 设置店铺id
     *
     * @param shopId 店铺id
     */
    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    /**
     * 获取店铺名称
     *
     * @return shop_name - 店铺名称
     */
    public String getShopName() {
        return shopName;
    }

    /**
     * 设置店铺名称
     *
     * @param shopName 店铺名称
     */
    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    /**
     * 获取店铺logo
     *
     * @return shop_logo - 店铺logo
     */
    public String getShopLogo() {
        return shopLogo;
    }

    /**
     * 设置店铺logo
     *
     * @param shopLogo 店铺logo
     */
    public void setShopLogo(String shopLogo) {
        this.shopLogo = shopLogo;
    }

    /**
     * 获取收藏数
     *
     * @return like_count - 收藏数
     */
    public Integer getLikeCount() {
        return likeCount;
    }

    /**
     * 设置收藏数
     *
     * @param likeCount 收藏数
     */
    public void setLikeCount(Integer likeCount) {
        this.likeCount = likeCount;
    }

    /**
     * 获取创建时间
     *
     * @return shop_create_date - 创建时间
     */
    public Date getShopCreateDate() {
        return shopCreateDate;
    }

    /**
     * 设置创建时间
     *
     * @param shopCreateDate 创建时间
     */
    public void setShopCreateDate(Date shopCreateDate) {
        this.shopCreateDate = shopCreateDate;
    }

    /**
     * 获取公司id
     *
     * @return dept_id - 公司id
     */
    public Integer getDeptId() {
        return deptId;
    }

    /**
     * 设置公司id
     *
     * @param deptId 公司id
     */
    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    /**
     * 获取店铺说明
     *
     * @return shop_summary - 店铺说明
     */
    public String getShopSummary() {
        return shopSummary;
    }

    /**
     * 设置店铺说明
     *
     * @param shopSummary 店铺说明
     */
    public void setShopSummary(String shopSummary) {
        this.shopSummary = shopSummary;
    }
}